﻿#include "EditorSubwindowView.h"
#include "EditorSubwindowViewModel.h"
#include "EditorWindowViewModel.h"
#include "PageArea/EditorPageAreaManagerView.h"

void REditorSubwindowView::BindViewModel(TSharedObjectPtr<REditorWindowViewModel> InViewModel)
{
    Super::BindViewModel(InViewModel);
    ViewModel=InViewModel;


    CreateAndShowWindow();
    FillWindow();
}

void REditorSubwindowView::FillWindow()
{
    PageAreaView->CreateWidget(WindowContentWidget);
}
